package com.sc.nft.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.MerchantPledgeTaskrewardsTypeEnum;
import com.sc.nft.sup.SuperEntity;
import java.util.Date;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 商户质押任务奖励结算日志表(sc_merchant_pledge_task_settlement_rewards_log)实体类
 *
 * @author Sun
 * @since 2023-08-24 16:16:49
 * @description 由 Mybatisplus Code Generator 创建
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_merchant_pledge_task_settlement_rewards_log")
public class MerchantPledgeTaskSettlementRewardsLog extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    private Long userId;
    /**
     * 用户质押记录表id
     */
    private Long userPledgeTaskRecordsId;

    /**
     * 质押任务主表id
     */
    private Long merchantPledgeTaskId;
    /**
     * 质押任务周期表id
     */
    private Long merchantPledgeTaskCycleConfId;
    /**
     * 质押任务收益表id
     */
    private Long merchantPledgeTaskIncomeConfId;
    /**
     * 奖励类型: 1:周期奖励 2:直推收益 3:间推收益
     */
    private MerchantPledgeTaskrewardsTypeEnum rewardsType;
    /**
     * 是否结算 0:否 1:是
     */
    private Boolean isSettlement;
    /**
     * 结算次数(结算次数)
     */
    private Integer settlementCount;
    /**
     * 结算时间
     */
    private Date settlementTime;
    /**
     *  来源用户id
     */
    private Long fromUserId;
    /**
     * 来源用户记录id
     */
    private Long fromUserRecordsId;
}